# -*- coding:utf-8 -*-
import random
from random import choice



def test(arg=[],b=20):
    arg.append(1)
    print arg
def test1():
    a=dict((f +"__contains",'bob') for f in('a','b','c','d'))
    print a


def log(func):
    def wrappedFunc():
        print "** %s() called" % func.__name__
        return func()
    return wrappedFunc;

@log
def foo():
    print "inside foo()";




if __name__=='__main__':
    print random.choice(range(10))
    print choice(range(10))
